package com.yxh.service;

import com.github.pagehelper.PageInfo;
import com.yxh.base.BaseService;
import com.yxh.pojo.FineType;
import com.yxh.pojo.Group;
import com.yxh.pojo.GroupMenu;
import com.yxh.pojo.vo.GroupMenuVO;

import java.util.List;

/**
 * Created by asus on 2018/5/31.
 */
public interface GroupService extends BaseService<Group,String> {

    PageInfo getInformation(Group group, Integer limit, Integer offset);

    PageInfo getInformationGroupMenu(Group group, Integer limit, Integer offset);

    void saveGroupMenu(GroupMenuVO groupMenuVO);

    List<GroupMenu> selectByGroupId(String groupId);

    int deleteGroup(String id);

}